package com.example.gientechthreeorder.order;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OrderApiController {
    @Value("${server.port}")
    private String serverPort;
    @RequestMapping("/getOrder")
    public String getOrder() {
        return "我是订单服务!端口号："+serverPort;
    }
}
